<?php
abstract class LogicEngine
{
	protected $type;
	
	/**
	 * @param int $type
	 * @param Ezer_Config $config
	 */
	public function __construct($type, Ezer_Config $config = null)
	{
		$this->type = $type;
	}
	
	/**
	 * @return int
	 */
	public function getType()
	{
		return $this->type;
	}
	
	/**
	 * @param string $url
	 * @return BaseObject
	 */
	abstract public function process($url);
}